(function(){
  var width = document.body.clientWidth;
  var md=document.getElementById("audio");
  var md1=document.getElementById("audio1");
  md1.pause()
  $('.aud1').css("left",width+'px')
  md.addEventListener("ended",function(){
    new TweenMax('.aud',.5,{x:-width,onComplete(){
      md1.play()
      $(".aud").remove()
    }});
    new TweenMax('.aud1',.5,{left:0,onComplete(){
      // md1.play()
    }});
  })
})();